import request from "../utils/request";
// 获取部门列表
export const departmentList = (data: any) => {
  return request.get('department/list', data)
}
// 获取学生列表
export const studentList = (data: any) => {
  return request.get('student/list', data)
}
// 删除学生信息接口
export const studentDel = (data: any) => {
  return request.get('student/delete', data)
}
// 批量删除学生信息接口
export const studentDelall = (data: any) => {
  return request.post('student/deleteall', data)
}
// 添加学生信息
export const studentAdd = (data: any) => {
  return request.post('student/add', data)
}
// 班级列表接口
export const classesList = (data: any) => {
  return request.get('classes/list', data)
}
// 获取老师列表接口
export const teacherList = (data: any) => {
  return request.get('teacher/list', data)
}
// 获取考试可见范围
export const getlimitStu = (data: any) => {
  return request.get('test/getlimit', data)
}
// 获取考试阅卷老师
export const getlimitTeacher = (data: any) => {
  return request.get('test/getmarkteachers', data)
}
// 获取考试学生列表接口
export const getmarkteachers = (data: any) => {
  return request.get('student/test', data)
}
// 考试可见老师添加接口
export const addLimitStudent = (data: any) => {
  return request.post('testlimit/add', data)
}
// 试卷可见老师添加接口
export const addLimitTeacher = (data: any) => {
  return request.post('subjectslimit/add', data)
}
// 考考试判卷老师接口
export const addMarkingTeacher = (data: any) => {
  return request.post('testmarkteacher/add', data)
}